export const modalFormConfig = {
  labelWidth: "100px",
  itemLayout: {
    padding: "10px 40px",
  },
  colLayout: { span: 24 },
  alwaysShow: true,
  formItems: [
    {
      field: "content",
      type: "input",
      label: "公告内容",
      placeholder: "请输入公告内容",
      rules: [{ required: true, message: "请输入公告内容", trigger: "blur" }],
      otherOptions: {
        type: "textarea",
        rows: 5,
      }
    },
    {
      field: 'statusValue',
      type: 'select',
      label: '发布状态',
      placeholder: '请选择发布状态',
      rules: [{ required: true, message: '请选择发布状态', trigger: 'blur' }],
      options: [
        { label: '未发布', value: 0 },
        { label: '已发布', value: 1 },
      ]
    },
  ],
};
